<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    ul {
      width: 500px;
      height: 400px;
      border: 1px solid;
      margin: 50px auto;
    }

    ul li {
      width: 100px;
      height: 50px;
      background-color: blue;
      margin-top: 10px;
      transition: margin-left 5s;
    }

    ul:hover li {
      margin-left: 500px;
    }

    ul:hover li:first-child {
      transition-timing-function: linear;
    }

    ul:hover li:nth-child(2) {
      transition-timing-function: ease;

    }

    ul:hover li:nth-child(3) {
      transition-timing-function: ease-in;

    }

    ul:hover li:nth-child(4) {
      transition-timing-function: ease-out;

    }

    ul:hover li:nth-child(5) {
      transition-timing-function: ease-in-out;

    }
  </style>
</head>

<body>
  <ul>
    <li>linear</li>
    <li>ease</li>
    <li>ease-in</li>
    <li>ease-out</li>
    <li>ease-in-out</li>
  </ul>

</body>

</html>